package demo02;

/**
 * 模型鸭
 * */
public class ModelDuck extends Duck {

	@Override
	public void disPlay() {
		System.out.println("我是模型鸭子");
		
	}

	public ModelDuck() {
		fly = new FlyNoWay();//不会飞
		quack = new Quack();//嘎嘎叫
	}

}
